import { Component, OnInit } from '@angular/core';

import Swiper from 'swiper';
declare var swiiper:any;

@Component({
  selector: 'app-jiuyuan-xq',
  templateUrl: './jiuyuan-xq.component.html',
  styleUrls: ['./jiuyuan-xq.component.css']
})
export class JiuyuanXqComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
    // banner
    var swiper = new Swiper('.banner_shouy', {
      pagination: {
        el: '.lunbo_banner',
        type: 'fraction',
      },
      autoplay: {
        delay: 3000,
        stopOnLastSlide: false,
        disableOnInteraction: true,
      }, 
    }); 
  }

}
